PreviousNextTracker indexSee it online !

(97/185) 231 - Make completion dialogs use Line up/down shortcuts

Hi,

It would be really useful to be able to use my Line up/Line down shortcuts to choose a selection in the completion popups. I use a vi-esque keybinding scheme, so taking my fingers off the home row when typing feels awkward.

Actually, to extend the request, it would be nice to be able to use text area navigation shortcuts (prev/next char, line up/down, select, etc.) in QuickNotepad and the Find dialog.

Thanks,
Todd

Submitted *anonymous - 2011-03-27 15:34:39 Assigned dionjwa
Priority 5 Labels
Status open Group None
Resolution None

Comments

2011-03-27 15:41:02
*anonymous

Looking at CompletionPopup (I don't know how extensively it's used), it seems possible that instead of switching on keyCodes:

switch(e.getKeyCode())
{
case KeyEvent.VK_UP:
moveRelative(-1);
e.consume();
break;
case KeyEvent.VK_DOWN:
moveRelative(1);
e.consume();
break;
...

, the popup could register as a shortcut listener for the "logical" line up instead of the "physical" key press.

2011-12-06 07:48:56
ezust

Perhaps this can be done in the Completion plugin, which will provide a replacement/enhanced completion popup.

2011-12-06 07:48:56
ezust

- **labels**: 1026105 -->
- **assigned_to**: nobody --> dionjwa

2011-12-10 14:48:42
dionjwa

I can add this.